#! /bin/sh -vx
# $Id$
# Public domain.

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_dvips=$BinDir/dvips$ExeExt

rm -f mtest.ps

$_dvips -D 300 $srcdir/testdata/dvipstst.xdv -o dvipstst.ps
mv dvipstst.ps mtest.ps || exit 1
$_dvips -D 300 $srcdir/testdata/dvipstst.xdv -o || exit 2
diff $srcdir/testdata/dvipstst.xps dvipstst.ps

exit 0

